import { Tools } from 'weaver-mobile';

/**
 * 获取转发记录
 * @param params
 * @returns {*}
 */
export const getLogDatas = (params) => {
    return Tools.callApi({
        url: '/api/workflow/reqform/getForwardDatas',
        method: 'GET',
        params,
    });
};

/**
 * 转发收回
 * @param params
 * @returns {*}
 * @constructor
 */
export const doForwardBack = (params) => {
    return Tools.callApi({
        url: '/api/workflow/reqform/doBack',
        method: 'POST',
        params,
    });
};
